package com.x.client.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.Date;

/**
 * C端轮播图
 */
@MappingTable(tableName = "CLIENT_ROTATION")
public class ClientRotation extends BaseObject {

	private static final long serialVersionUID = -2628839193458962005L;

	@MappingColumn(columnName = "ROTATION_ID", columnPk = true, columnLength = 32)
	private String rotationId;//主键id

	@MappingColumn(columnName = "ROTATION_NAME")
	private String rotationName;//轮播图名称

	@MappingColumn(columnName = "ROTATION_IMAGE")
	private String rotationImage;//图片地址

	@MappingColumn(columnName = "ROTATION_URL")
	private String rotationUrl;//图片链接

	@MappingColumn(columnName = "ROTATION_SEQ")
	private Integer rotationSeq;//图片排序

	@MappingColumn(columnName = "ROTATION_SHOW_SECONDS")
	private Integer rotationShowSeconds;//图片显示时间

	@MappingColumn(columnName = "ROTATION_STATE")
	private Integer rotationState;//图片状态

	@MappingColumn(columnName = "ROTATION_CREATE_TIME")
	private Date rotationCreateTime;//图片创建时间

	@MappingColumn(columnName = "ROTATION_UPDATE_TIME")
	private Date rotationUpdateTime;//图片更新时间

	@MappingColumn(columnName = "USER_ID")
	private String userId;//用户ID

	public String getRotationId() {
		return rotationId;
	}

	public void setRotationId(String rotationId) {
		this.rotationId = rotationId;
	}

	public String getRotationName() {
		return rotationName;
	}

	public void setRotationName(String rotationName) {
		this.rotationName = rotationName;
	}

	public String getRotationImage() {
		return rotationImage;
	}

	public void setRotationImage(String rotationImage) {
		this.rotationImage = rotationImage;
	}

	public String getRotationUrl() {
		return rotationUrl;
	}

	public void setRotationUrl(String rotationUrl) {
		this.rotationUrl = rotationUrl;
	}

	public Integer getRotationSeq() {
		return rotationSeq;
	}

	public void setRotationSeq(Integer rotationSeq) {
		this.rotationSeq = rotationSeq;
	}

	public Integer getRotationShowSeconds() {
		return rotationShowSeconds;
	}

	public void setRotationShowSeconds(Integer rotationShowSeconds) {
		this.rotationShowSeconds = rotationShowSeconds;
	}

	public Integer getRotationState() {
		return rotationState;
	}

	public void setRotationState(Integer rotationState) {
		this.rotationState = rotationState;
	}

	public Date getRotationCreateTime() {
		return rotationCreateTime;
	}

	public void setRotationCreateTime(Date rotationCreateTime) {
		this.rotationCreateTime = rotationCreateTime;
	}

	public Date getRotationUpdateTime() {
		return rotationUpdateTime;
	}

	public void setRotationUpdateTime(Date rotationUpdateTime) {
		this.rotationUpdateTime = rotationUpdateTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
}
